export function isImage(name: string) {
  return name.toLowerCase().match(/\.(jpg|jpeg|png|gif|webp)$/);
}

export function isVideo(name: string) {
  return name.toLowerCase().match(/\.(mp4)$/);
}

export function isExcel(name: string) {
  return name.toLowerCase().match(/\.(xlsx)$/);
}
